package com.generator.service.article;

import com.generator.dto.article.ArticleAuditDto;
import com.generator.dto.article.ArticleDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleService {

    List<ArticleDto> findAllArticle();

    ArticleDto findArticleById(int articleId);

    void updateArticle(ArticleDto articleDto);

    void delArticle(int articleId);

    void addArticle(ArticleDto articleDto);

    List<ArticleAuditDto> auditOpinions();

    void updateOpinion(ArticleAuditDto articleAuditDto);


    ArticleAuditDto findOpinionById(int articleId);
}
